using System;
using System.Collections.Generic;
using System.Text;
using System.Management.Automation;
using System.Collections;
using Microsoft.SharePoint;


namespace Community.SharePoint.Commands
{
    [Cmdlet(VerbsCommon.Get, "Web",DefaultParameterSetName="ByUrl") ]
    public class GetWebCommand : WebBaseCommand 
    {
        protected override void ProcessRecord()
        {
            foreach (SPWeb web in MatchingWebs())
            {
                WriteObject(web);
            }
        }
    }
}
